import request from '@/utils/request'
// 审批列表
export function getApprovalList(query) {
    return request({
        url: '/flowable/task/agencyTasks',
        method: 'get',
        params: query
    })
}
// 我发起的列表
export function getMyProcessList(query) {
    return request({
        url: '/flowable/task/myProcess',
        method: 'get',
        params: query
    })
}
// 抄送列表
export function getCopyList(query) {
    return request({
        url: '/flowable/task/getCopyList',
        method: 'get',
        params: query
    })
}

// 新增
export function addModel(data) {
    return request({
        url: '/flowable/definition/saveModel',
        method: 'post',
        data: data
    })
}





